Improving Programs Which Recurse over Multiple Inductive Structures
نویسندگان
چکیده
This paper considers generic recursion schemes for programs which recurse over multiple inductive structures simultane ously such as equality zip and the nth element of a list function Such schemes have been notably absent from pre vious work This paper de nes a uniform mechanism for de ning such programs and shows that these programs sat isfy generic theorems These theorems are the basis for an automatic improvement algorithm This algorithm is an im provement over the algorithm presented earlier because in addition to inducting over multiple structures it can be incorporated into any algebraic language and is no longer restricted to a safe subset
منابع مشابه
Towards a Teaching Approach for Improving Mathematics Inductive Reasoning Problem Solving
The study aimed at proposing and assessing a training program that integrates both inductive reasoning problem solving and the development of mathematical concepts. This approach was developed on the basis of a general theory of inductive reasoning, which delineates six related classes of problems and the corresponding solution processes and it was implemented to sixth grade students. Data were...
متن کاملمعرفی روش تطبیقی اصلاح شده برای اندازهگیری دقیق ولتاژ در مبدل ولتاژ نوری
There are fewer problems encountered with optical voltage transducers in comparison with their inductive and capacitive counterparts. Although capacitive and inductive transformers are used vastly for the purpose of measurement and protection in the networks, they cause problems such as core saturation and improper transient responses which decrease the accuracy of measurement and eficiency of ...
متن کاملShort Cut Fusion of Recursive Programs with Computational Effects
Fusion is the process of improving the efficiency of modularly constructed programs by transforming them into monolithic equivalents. This paper defines a generalization of the standard build combinator which expresses uniform production of functorial contexts containing data of inductive types. It also proves correct a fusion rule which generalizes the fold/ build and fold/buildp rules from th...
متن کاملWeak Arithmetic Completeness of Object-Oriented First-Order Assertion Networks
We present a completeness proof of the inductive assertion method for object-oriented programs extended with auxiliary variables. The class of programs considered are assumed to compute over structures which include the standard interpretation of Presburger arithmetic. Further, the assertion language is first-order, i.e., quantification only ranges over basic types like that of the natural numb...
متن کاملInductive Reasoning for Shape Invariants pdfsubject
Automatic verification of imperative programs that destructively manipulate heap data structures is challenging. In this paper we propose an approach for verifying that such programs do not corrupt their data structures. We specify heap data structures such as lists, arrays of lists, and trees inductively as solutions of logic programs. We use off-the-shelf first-order theorem provers to reason...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1994